package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.StrategyCatalog;
import cn.wolfcode.wolf2w.domain.StrategyTheme;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * 攻略分类持久层接口
 */
public interface StrategyCatalogRepository extends MongoRepository<StrategyCatalog, String>{

    /**
     * 目的下的所有攻略分类对象
     * @param destId
     * @return
     */
    List<StrategyCatalog> findByDestId(String destId);
}
